def call(String jiraissueid) {    
    withEnv(['JIRA_SITE=jiralocal']) {
        def transitionInput =
        [
            transition: [
                id: '31'
            ]
        ]

        jiraTransitionIssue idOrKey: jiraissueid, input: transitionInput
        }
}